import request from "@/utils/request";
// 创建任务
export function createTask(data) {
  return request({
    url: "/pc/task/create",
    method: "post",
    data,
  });
}
// 获取任务分页数据
export function getTaskByPagination(data) {
  return request({
    url: "/pc/task/get/pagination",
    method: "post",
    data,
  });
}
// 编辑任务
export function editTaskByUuid(data) {
  return request({
    url: "/pc/task/edit/uuid",
    method: "post",
    data,
  });
}
// 通过 uuid 删除任务
export function removeTaskByUuid(data) {
  return request({
    url: "/pc/task/remove/uuid",
    method: "post",
    data,
  });
}
